package com.java8.interfaceTest;

/**
 * <p>interface中的static方法和default方法</p>
 * Created on 2020/5/9
 *
 * @author <a href="mailto: 819712047@qq.com">谢振东 </a>
 * @version 1.0
 */
public class InterfaceAImpl implements InterfaceA{

    /**
     * 跟接口default方法一致,但不能再加default修饰符
     */
    @Override
    public void showDefault(){
        System.out.println("InterfaceAImpl++defaultShow");
    }
}
